import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:sonora/bloc/base/sj_base_state.dart';

part 'sj_login_state.freezed.dart';

@freezed
class SjLoginState extends SjBaseState with _$SjLoginState {
  const factory SjLoginState({
    @Default(false) bool initial,
    @Default(false) bool loginSuccess,
    @Default('') String userIdentifier,
    @Default('') String error,
    @Default(false) bool useChecked,
    @Default(false) bool privacyChecked,
    @Default(3) int oauthType
  }) = _SjLoginState;
}
